import request from "@/utils/request";

// 获取某一演习的时间加速列表
export function getAccList(id) {
  return request({
    url: "/practice/acc/list",
    method: "get",
    params: id
  });
}

// 删除时间加速数据
export function deleteAcc(id) {
  return request({
    url: "/practice/acc/" + id,
    method: "delete"
  });
}

// 修改时间加速
export function editAcc(data) {
  return request({
    url: "/practice/acc",
    method: "put",
    data: data
  });
}

// 新建时间加速
export function createAcc(data) {
  return request({
    url: "/practice/acc",
    method: "post",
    data: data
  });
}
